home *** CD-ROM | disk | FTP | other *** search
- Path: news.ifm.liu.se!d93marbl
- From: d93marbl@isy.liu.se (Martin Blom)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Passing arguments to a thread
- Date: 4 Feb 1996 11:43:32 GMT
- Message-ID: <4f2654$aqg@newsy.ifm.liu.se>
- References: <4ed1eq$nfi@newsy.ifm.liu.se> <4eo28c$im3@tuegate.tue.nl>
- NNTP-Posting-Host: mut.isy.liu.se
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Newsreader: NN version 6.5.0 #26 (NOV)
-
- buex95a@asterix.urc.tue.nl (Marcel van Kervinck) writes:
-
- >I usually pass arguments to a new task on it's new stack.
- >I have to allocate that stack anyway, so there is no harm
- >in setting up a stackframe. I even go as far as passing
- >execbase around this way. I mentioned this before in this
- >group. It seems more elegant than using that ugly $4 fetch.
-
- Seem like a nice solution! But how do I use an own stack with
- CreateNewProc()?
- --
- +--------- Martin 'Leviticus' Blom ----------+ Commodore 128D
- | Linkoping Institute of Technology - Sweden | Amiga 4000/040
- +----------- lcs@lysator.liu.se -------------+
- http://www.lysator.liu.se/~lcs/
-